import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Vant, {Lazyload} from 'vant';
import "reset-css"
import 'vant/lib/index.css';
//路由守卫
import "@/router/permissions"

Vue.use(Lazyload);
Vue.use(Vant);


Vue.config.productionTip = false

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')

Vue.filter("RMBformat", val => {
    return "￥ " + val.toFixed(2) + " 元"
})
